﻿#if UNITY_EDITOR
using System.Collections.Generic;
using UnityEditor;
using UnityEngine.U2D;
/// <summary>
/// SpriteAtlas图集SpritePackingTag操作代码
/// </summary>
public partial class ESF_Logic
{
    #region OneKeyBuildSpriteAtlas 一键生成所有SpriteAtlas
    /// <summary>
    /// 一键生成所有SpriteAtlas
    /// </summary>
    /// <returns>true:生成成功,false:生成失败</returns>
    [ESF_OneKeyBuild(ESF_enOneKeyBuildStep.BuildSpriteAtlas)]
    public static bool OneKeyBuildSpriteAtlas()
    {
        BuildSpriteAtlas();
        return true;        
    }
    #endregion
}
#endif
